# Contributor: Thomas Adam <thomas.adam22@gmail.com>
# Maintainer: Thomas Adam <thomas.adam22@gmail.com>
pkgname=pasystray
pkgver=0.8.2
pkgrel=0
pkgdesc="PulseAudio system tray"
url="https://github.com/christophgysin/pasystray"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	autoconf
	automake
	avahi-dev
	gtk+3.0-dev
	libnotify-dev
	libx11-dev
	pulseaudio-dev
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"

prepare() {
	default_prepare

	autoreconf -fvi
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
a4c2c257678c161ed2daf53249bc4acf50002cd8485ce031fe98d20540ec684011651fc0e5e66cd925131629630371a834660b0da69c53dbd14521ed268d13ef  pasystray-0.8.2.tar.gz
"
